cmake_minimum_required(VERSION 3.1)

project(usb-can-v2-demo)

add_executable(usb-can-tb test.cc)
target_include_directories(usb-can-tb PRIVATE .. ${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/libusb)
target_link_libraries(usb-can-tb
    PRIVATE 
    ${CMAKE_CURRENT_SOURCE_DIR}/../build/libusb-can-v2.so
    ${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/libusb/libusb-1.0.so
)